package br.com.news.database.services;

import javax.inject.Inject;
import javax.inject.Named;

import br.com.news.database.daos.interfaces.IAnuncioDao;
import br.com.news.database.entities.AnuncioEntity;
import br.com.news.database.utils.GenericService;
import br.com.news.database.utils.interfaces.IGenericDao;
import br.com.news.utils.database.beans.AnuncioBean;
import br.com.news.utils.database.interfaces.IAnuncioService;

@Named
public class AnuncioService extends GenericService<AnuncioBean, AnuncioEntity, Long> implements IAnuncioService{

	@Inject
	private IAnuncioDao anuncioDao;

	@Override
	protected IGenericDao<AnuncioEntity, Long> getConcreteDao() {
		return this.anuncioDao;
	}

}
